Fix crash when deploying with implicit os name
authorDaniel Narvaez <dwnarvaez@gmail.com>
Sun, 27 Oct 2013 18:39:02 +0000 (19:39 +0100)
committerColin Walters <walters@verbum.org>
Mon, 28 Oct 2013 13:15:32 +0000 (09:15 -0400)
commit7ecfbff26e629509e3ae02867b43ee0ef4ed1018
tree4ac1e55051ce177ca24edc9eafa66e870d7edf53
parent03aa10f17d54fac00f24facd2e7bfeb7c347584d
Fix crash when deploying with implicit os name

When booted into an ostree you can deploy without passing
an --os option. That was crashing though, because
ot_admin_complete_deploy_one is called with NULL
osname but it was not handling it properly.

https://bugzilla.gnome.org/show_bug.cgi?id=710970
src/ostree/ot-admin-functions.c